package com.lemon.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lemon.domain.WarehouseArea;
import com.lemon.domain.vo.WarehousAreaVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface WarehouseAreaMapper extends BaseMapper<WarehouseArea> {

    @Select("select id,name from warehouse_area where warehouse_id = #{warehouseId}")
    List<WarehousAreaVo> getWarehouseAreaList(Integer warehouseId);
}
